<template>
    <div class="parking">
        <div class="content serve_con" style="padding: 10px;">
            <div class="div_style">

                <img :src="contentDetail.photo" style="width: 100%;height: 100%;margin-bottom: 10px;">
            </div>

            <div div style="width: 100%;height: auto;font-size: 14px; margin-bottom: 10px;margin-top: 30px;">
                <div style="width: 100%;height: auto;margin-top: 20px;margin-bottom: 20px;">
                     <span v-html="contentDetail.content">
                        {{contentDetail.content}}
                    </span>
                </div>

                <div style="width: 100%;height: 50px;line-height:50px;border-top: 1px solid #E8E8E8;border-bottom:1px solid #E8E8E8;">
                    <img style="width: 25px;vertical-align: middle;" src="/images/icon_arrows_l.png">
                    <span>
                        贵宾车辆入口
                    </span>
                </div>
                <div style="width: 100%;height: 50px;line-height:50px;border-bottom:1px solid #E8E8E8;">
                    <img style="width: 25px;vertical-align: middle;" src="/images/icon_arrows_r.png">
                    <span>
                        普通观众车辆入口处
                    </span>
                </div>

            </div>
        </div>
    </div>
</template>

<script>
    import Cookies from 'js-cookie'
    import {isDev} from "../../utils/tools";
    import { Toast } from 'vant';
    export default {
        name: "Parking",
        components: {},
        data() {
            return{
                menuId:'',
                contentDetail:{},
                count:1,
            }
        },
        mounted(){
            this.token = Cookies.get("token")
            this.menuId = 2
            isDev&&console.log(this.token);
            this.fetchStrategyDetail()
        },
        computed: {},
        methods: {
            fetchStrategyDetail(){
                this.$api.contentSet.contentSetDetail({id:this.menuId}).then(res=>{
                    // isDev&&console.log(res);
                    if(res.code==0){
                        isDev&&console.log(res.data);
                        this.contentDetail = res.data
                    }else{
                        console.log(res);
                    }
                }).catch(error=>{
                    console.log(this.error);
                })
            }
        }
    }
</script>

<style scoped>

</style>
